Below the various steps to update Arfooo Directory From version 1.0.2 to version 1.0.3 1) Make a backup of your database 2) Upload file templates/arfooo/images/flags found in version 1.0.3 on your ftp 3) Delete the entire folder containing the files Arfooo Directory EXCEPT: - the file config/db.php - le folderr upload/ - le file .htaccess - le folder templates/ We will proceed to change line by line. These changes will take about 5 minutes # #----[ OPEN ]------------------------------------------ # templates/arfooo/category/list.tpl # #----[ FIND ]------------------------------------------ # {$category.name} # #----[ REPLACE WITH ]------------------------------------------ # {$category.name} # #----[ FIND ]------------------------------------------ # {$subcategory.name} # #----[ REPLACE WITH ]------------------------------------------ # {$subcategory.name} # #----[ OPEN ]------------------------------------------ # templates/arfooo/category/showAll.tpl # #----[ FIND ]------------------------------------------ # {foreach from=$category.parents value=parent} {$parent.name}({$parent.validatedSitesCount}) > {/foreach} {$category.name}({$category.validatedSitesCount})
{/foreach} # #----[ REPLACE WITH ]------------------------------------------ # {foreach from=$category.parents value=parent} {$parent.name}({$parent.validatedSitesCount}) > {/foreach} {$category.name}({$category.validatedSitesCount})
{/foreach} # #----[ OPEN ]------------------------------------------ # templates/arfooo/css/style.css # #----[ FIND ]------------------------------------------ # .show_arbo # #----[ BEFORE, ADD ]------------------------------------------ # .column_in_thematic { float:left; width:632px; margin:0; padding:0; padding-bottom:2px; margin-bottom:3px; border-bottom:1px #574d44 dashed; } .column_in_subbmit { float:left; width:636px; margin:0; margin-top:4px; padding:3px; text-align:center; font-weight:bold; background-color:#efefef; } .column_in_subbmit_out { float:left; width:642px; margin:0; padding:0; } # #----[ FIND ]------------------------------------------ # a.link_black_grey_small # #----[ BEFORE, ADD ]------------------------------------------ # a.link_black_grey_normal { font-family:Tahoma, Verdana, Arial, sans-serif; } a.link_black_grey_normal:link, a.link_black_grey_normal:visited { color:#000000; text-decoration:none; } a.link_black_grey_normal:hover, a.link_black_grey_normal:active { color:#574d44; text-decoration:none; } # #----[ FIND ]------------------------------------------ # .text_red { color:#ff0000; } # #----[ AFTER, ADD ]------------------------------------------ # .text_thematic_close { font-style:italic; color:#574d44; padding-left:4px; } # #----[ FIND ]------------------------------------------ # .textarea_large { border:1px #000000 solid; width:250px; height:75px; font-size:1em; } # #----[ REPLACE WITH ]------------------------------------------ # .textarea_large { border:1px #000000 solid; width:350px; height:110px; } .textarea_return { border:1px #000000 solid; width:300px; height:90px; } # #----[ FIND ]------------------------------------------ # img.website_image { float:left; width:120px; height:90px; margin:0; margin-right:10px; padding:0; border:1px #4079a9 solid; } # #----[ AFTER, ADD ]------------------------------------------ # img.flag_image { float:left; margin:0; margin-top:2px; margin-left:-30px; padding:0; width:18px; height:12px; } # #----[ OPEN ]------------------------------------------ # templates/arfooo/menu/menuleft/categories.tpl # #----[ FIND ]------------------------------------------ #
  • {$category.name}
  • # #----[ REPLACE WITH ]------------------------------------------ #
  • {$category.name}
  • # #----[ OPEN ]------------------------------------------ # templates/arfooo/menu/menuright/menuright.tpl # #----[ FIND ]------------------------------------------ #
  • {'Sites in this category'|lang}
  • {/if} # #----[ REPLACE WITH ]------------------------------------------ #
  • {'Sites in this category'|lang}
  • {/if} {if $setting.rssSitesEnabled && isset($display.siteRssHref)}
  • {'Site'|lang}
  • {/if} # #----[ OPEN ]------------------------------------------ # templates/arfooo/site/category.tpl # #----[ FIND ]------------------------------------------ # > {$categoryParent.name} # #----[ REPLACE WITH ]------------------------------------------ # > {$categoryParent.name} # #----[ OPEN ]------------------------------------------ # templates/arfooo/site/details.tpl # #----[ FIND ]------------------------------------------ # {$category.name} > # #----[ REPLACE WITH ]------------------------------------------ # {$category.name} > # #----[ FIND ]------------------------------------------ # {$site.siteTitle} # #----[ REPLACE WITH ]------------------------------------------ # {$site.siteTitle} # #----[ FIND ]------------------------------------------ #
    # #----[ BEFORE, ADD ]------------------------------------------ # {if $setting.countryFlagsEnabled && $site.countryCode} {$site.countryCode} {/if} # #----[ FIND ]------------------------------------------ # # #----[ REPLACE WITH ]------------------------------------------ # # #----[ FIND ]------------------------------------------ # {foreach from=$site.categoryParentsData value=category} > {$category.name} # #----[ REPLACE WITH ]------------------------------------------ # {foreach from=$site.categoryParentsData value=category} > {$category.name} # #----[ FIND ]------------------------------------------ # {include file="includes/footer.tpl"} # #----[ BEFORE, ADD ]------------------------------------------ # {if !empty($randomSites)}

    {'Thematic close to'|lang} {$site.siteTitle}

    {foreach from=$randomSites value=randomSite}
    {$randomSite.siteTitle}
    {$randomSite.description|truncate:$setting.randomSitesInDetailsDescriptionLength}
    {/foreach}
    {/if} # #----[ OPEN ]------------------------------------------ # templates/arfooo/site/item.tpl # #----[ FIND ]------------------------------------------ # {if $setting.sitesImages} {$site.siteTitle} {/if} # #----[ AFTER, ADD ]------------------------------------------ # {if $setting.countryFlagsEnabled && $site.countryCode} {$site.countryCode} {/if} # #----[ FIND ]------------------------------------------ # {if isset($display.highlightKeywords)} {$site.url|highlight:$display.highlightKeywords} {else} {$site.url} {/if} | {'Details'|lang} # #----[ REPLACE WITH ]------------------------------------------ # {if isset($display.highlightKeywords)} {$site.url|domain|highlight:$display.highlightKeywords} {else} {$site.url|domain} {/if} | {'Details'|lang} # #----[ OPEN ]------------------------------------------ # templates/arfooo/site/randomList.tpl # #----[ FIND ]------------------------------------------ # {foreach from=$randomSites value=site} {$site.siteTitle|htmlspecialchars} {/foreach} # #----[ REPLACE WITH ]------------------------------------------ # {foreach from=$randomSites value=site} {$site.siteTitle} {/foreach} # #----[ OPEN ]------------------------------------------ # templates/arfooo/webmaster/manage.tpl # #----[ FIND ]------------------------------------------ # # #----[ REPLACE WITH ]------------------------------------------ # 4) For files : - templates/arfooo/webmaster/submit2.tpl and - templates/arfooo/webmaster/submitWebsite.tpl Replace these old files by new file arfooo directory 1.0.3 4) Once uploaded files, go to the following url: http://www.your-site.com/folderarfooo/install/update/ 5) !!!!!!! WARNING !!!!!!!! 6) Read the instructions if you could lose data, it is necessary to safeguard your database. 7) ONLY 1 Click on the file "update103.php" 8) Go to your directory in the part of visitors, not in admin parts, and see if strange characters appear. 9) IF THE CHARACTERS ARE STRANGE AND ONLY IF THE CHARACTERS ARE STRANGE, ITSELF 1 click on the file "fixdb.php" 10) Delete the folder "install /" If you encounter other problems a forum is at your disposal: http://forum.arfooo.net
    {$site.url}{$site.url|domain} {'Go'|lang}{'Go'|lang}